﻿#ifndef RFMAPIDEFINE_H
#define RFMAPIDEFINE_H

#if (defined(RFM2G_LINUX))

#ifdef CONFIG_DEVFS_FS
#define DEVICE_PREFIX   "/dev/rfm2g/"
#else
#define DEVICE_PREFIX   "/dev/rfm2g"
#endif

#define PROCFILE         "/proc/rfm2g"

#elif defined(RFM2G_VXWORKS)

#define DEVICE_PREFIX   "RFM2G_"

#elif defined(SOLARIS)

#define DEVICE_PREFIX   "/dev/rfm2g"

#elif defined(WIN32)

#define DEVICE_PREFIX   "\\\\.\\rfm2g"
#else
#error Please define DEVICE_PREFIX for your driver
#endif

#endif // RFMAPIDEFINE_H
